
from alitrans import Translate

# 示例：翻译文本

if __name__ == "__main__":
    translator = Translate(id ="your id"  ,secret =  "your secret",source = 'ko',target = 'zh')
    directory_to_translate = "your dir"  # 你可以修改为你想翻译的目录
    translator.translate_directory(directory_to_translate)